package com.chinacoal.microservice.service;

import com.chinacoal.microservice.pojo.CcmsSmartleasingCoefficientTemplate;
import com.chinacoal.microservice.pojo.CcmsSmartleasingRoom;
import com.chinacoal.microservice.util.QueryCriteria;
import com.chinacoal.microservice.util.Result;

import java.util.List;

/**
 * @author zhuliang
 * @version V1.0
 * @Description: 费用系数模板-后端实现接口类
 * @date 2020-12-04 17：39
 */
public interface CostFactorTemplateService {

    Result<List<CcmsSmartleasingCoefficientTemplate>> getAllCostTemplate(QueryCriteria queryCriteria, String token);

    Result<CcmsSmartleasingCoefficientTemplate> getCostTemplateById(String pkCoefficientTemplateId, Integer status, String token);

    Result closeCoefficient( String pkCoefficientTemplateId, String token);

    Result addCoefficient(CcmsSmartleasingCoefficientTemplate coefficientTemplate, String token);

    Result<List<CcmsSmartleasingRoom>> modifyTheAssociatedRoom(String pkCoefficientTemplateId, String token);

    Result<List<CcmsSmartleasingCoefficientTemplate>> conditionalQueryCoefficient(QueryCriteria queryCriteria, String token);

    Result<CcmsSmartleasingCoefficientTemplate> updateCoefficientTemplate(String token, CcmsSmartleasingCoefficientTemplate coefficientTemplate);

    Result<List<CcmsSmartleasingCoefficientTemplate>> getAllByCoefficient(String token);
}
